
package me.zhengjie.modules.system.mapper;

import java.util.List;

import me.zhengjie.modules.system.domain.Region;
import me.zhengjie.modules.system.domain.vo.RegionQueryCriteria;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
* @author 程康
* @date 2024-12-12
**/
@Mapper
public interface RegionMapper extends BaseMapper<Region> {

    IPage<Region> findAll(@Param("criteria") RegionQueryCriteria criteria, Page<Object> page);

    List<Region> findAll(@Param("criteria") RegionQueryCriteria criteria);
}